Skip to content

swift-package-migrate: Call SwiftFixIt once for all diagnostic files #8933

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 17, 2025

Conversation

AnthonyLatsis
Copy link
Contributor

@AnthonyLatsis AnthonyLatsis commented Jul 14, 2025

Motivation:

This excludes the possibility of repeated fix-it application caused by accidental emission of migration warnings in dependency modules.

Modifications:

Also:

  • Add a comment for why we exclude plugins from migration.
  • Add SwiftFixIt test for directory exclusion.
  • Tidy up excluded directory checks in the diagnostic filter.
  • Add missing @Test to SwiftFixIt test.

@AnthonyLatsis
Copy link
Contributor Author

@swift-ci please test macOS Platform

@AnthonyLatsis
Copy link
Contributor Author

@swift-ci please test

Also tidy up excluded directory checks in the diagnostic filter and
add missing `@Test` to a test function.
This excludes the possibility of repeated fix-it application caused by
accidental emission of migration warnings in dependency modules.

Also add a comment for why we exclude plugins from migration.
@AnthonyLatsis
Copy link
Contributor Author

@swift-ci please test

@AnthonyLatsis
Copy link
Contributor Author

@swift-ci please test macOS self hosted

@AnthonyLatsis
Copy link
Contributor Author

@swift-ci please test Windows

@AnthonyLatsis AnthonyLatsis merged commit 7bbc81c into main Jul 17, 2025
6 checks passed
@AnthonyLatsis AnthonyLatsis deleted the jepa-main branch July 17, 2025 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants